package com.method;

/*
要写注释哦!!!
*/
public class Demo13 {
    public static void main(String[] args) {
        sum(2,3);
        byte a=5;
        int b=8;
        sum(a,b);

    }
    public static void sum(int a,int b){
        int sum=a+b;
        System.out.println(sum);
    }
    public static void sum(byte a,int b){
        int sum=a-b;
        System.out.println(sum);
    }
    public static void dub(float a,double b){
        double sum=a+b;
        System.out.println(sum);
    }
    public static void dub(double a,double b){
        double sum=a+b;
        System.out.println(sum);
    }
    public static void log(long a,long b){
        long sum=a+b;
        System.out.println(sum);
    }
    public static void log(int a,long b){
        long sum=a+b;
        System.out.println(sum);
    }
    public static void byt(byte a,byte b){
        long sum=a+b;
        System.out.println(sum);
    }
    public static void byt(byte a,long b){
        long sum=a+b;
        System.out.println(sum);
    }
    public static void sht(short a,short b){
        int sum=a+b;
        System.out.println(sum);
    }
    public static void sht(short a,long b){
        long sum=a+b;
        System.out.println(sum);
    }
}
